Simplify shadow conditions
authorMatthias Clasen <mclasen@redhat.com>
Sat, 24 Apr 2021 15:07:20 +0000 (11:07 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 24 Apr 2021 15:07:20 +0000 (11:07 -0400)
commit1c1c030b8e6a9da8628197592d33c0f547fde293
treee0eb5ae2c0af6fed5886fe0b19aab084825a0bb9
parent628d5406d72cf29d678f20a56a51e1871a1af221
Simplify shadow conditions

The code in gtkwindow.c for dealing with the various
combinations of client-side decorations and client-side
shadows is entirely too complicated.

This commit does not really clean it up, but simplifies
one of the shadow conditions far enough to make some
sense.

With this change, I get the expected decorations in
all the cases I can easily reproduce locally.
gtk/gtkwindow.c